KindEditor.ready(function(K) {
				var editor = K.editor({
					cssPath : '../tools/kindeditor/plugins/code/prettify.css',
					uploadJson : '../tools/kindeditor/php/upload_json.php',
					fileManagerJson : '../tools/kindeditor/php/file_manager_json.php',
					allowFileManager : true
				});
				K('#image1').click(function() {
					editor.loadPlugin('image', function() {
						editor.plugin.imageDialog({
							imageUrl : K('#url1').val(),
							clickFn : function(url, title, width, height, border, align) {
								$("#img_show").attr("src",url);
								K('#url1').val(url);
								editor.hideDialog();
							}
						});
					});
				});
			});